import { createRouter, createWebHistory } from 'vue-router'
const router = createRouter({
  history: createWebHistory(),
  routes: [
    {
      path: '/',
      name: 'home',
      component: ()=> import('../layout/main.vue')
    },{
      path: '/about',
      name: 'about',
      component: ()=> import('../layout/header.vue')
    }
  ]
})
export default router